package cn.com.utt.unms.service;

import org.springframework.stereotype.Service;
import cn.com.utt.common.exception.BusinessException;
import cn.com.utt.common.vo.TableInput;
import cn.com.utt.common.vo.TableOutput;
import cn.com.utt.unms.vo.OrderItem;

@Service
public interface OrderService {

	public String createSmsOrder(long userId, long productId, int num);

	String payOrder(String orderNum);

	void dealOrder(String orderNo, String tradeNo, String payAccount) throws BusinessException;

	TableOutput<OrderItem> queryByCondition(TableInput input, long userId);

}